package cn.hxzy.common.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_user_class")
public class UserClass implements Serializable {
    private static final long serialVersionUID = 3936878791177848445L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    //用户编号
    private Integer userId;
    //班级编号
    private Integer classId;
}
